package com.ruoyi.system.domain.vo;

import com.ruoyi.common.core.annotation.Excel;

import java.util.List;

public class DistrictVo {

    /** 区划信息id */
    private Long id;

    /** 父级挂接id */
    @Excel(name = "父级挂接id")
    private Long pid;

    /** 区划编码 */
    @Excel(name = "区划编码")
    private String value;

    /** 区划名称 */
    @Excel(name = "区划名称")
    private String label;

    /** 是否热门城市 (0:否，1：是)*/
    private Integer isHot;

    /** 城市首字母 */
    private String initial;

    /** 级次id 0:省/自治区/直辖市 1:市级 2:县级 */
    @Excel(name = "级次id 0:省/自治区/直辖市 1:市级 2:县级")
    private Integer level;

    /** 子集 */
    private List<DistrictVo> children;

    public Long getId() {
        return id;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Integer getIsHot() {
        return isHot;
    }

    public void setIsHot(Integer isHot) {
        this.isHot = isHot;
    }

    public String getInitial() {
        return initial;
    }

    public void setInitial(String initial) {
        this.initial = initial;
    }

    public List<DistrictVo> getChildren() {
        return children;
    }

    public void setChildren(List<DistrictVo> children) {
        this.children = children;
    }
}
